cmake_minimum_required(VERSION 3.10.2)

include_directories(include)
#编译源文件
file(GLOB allCPP *.c *.h *.cpp)

project("native-lib1")

add_library( native-lib1 SHARED  ${allCPP} )


#add_library( lib_opencv SHARED IMPORTED)
#set_target_properties(lib_opencv PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/libopencv_java3.so)

target_link_libraries( # Specifies the target library.
        native-lib1

        log
        jnigraphics
#        lib_opencv
)